package com.sailfish.springbootdemo.service.db1;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db1.EmailRecord;

import java.util.List;

public interface EmailRecordService {

    /**
     * 查询所有
     */
    Result getAllEmailRecord(Integer emailResult, Integer page, Integer pageSize);

    /**
     * 新增
     */
    void addEmailRecord(EmailRecord emailRecord);
}
